package com.qianmi.cloud.app;

import com.qianmi.cloud.request.GoodsQueryRequest;
import com.qianmi.cloud.response.GoodsQueryResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @Description
 * @Author caichao【OF3379】
 * @Date 7:39 PM 1/13/22
 */
@FeignClient("spring-cloud-goods-app")
public interface GoodsQueryProvider {

    @PostMapping("/query/goods")
    GoodsQueryResponse queryGoods(GoodsQueryRequest goodsQueryRequest);
}
